package com.un.ebs.sys.dto;

import com.un.ebs.core.enums.ScopeEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * Add dto.
 * </p>
 *
 * @author liubo
 * @since 2019-11-01
 */
@Data
public class ConfigureAddDto {

    private String appId;

    @NotNull(message = "code 不能为空。")
    private String code;

    private String name;

    private String remark;

    private ScopeEnum scope;

    private Integer valueType;

    private String defaultValue;

    private String groupId;
}